package part2;

/**
 * @Author juzipi
 * @Date 2021/6/26 16:02
 * @Info
 */
public class Student extends Person {
//
//    String name;
//
//    int age;
//
//    String gender;


    public Student() {
    }

//    public Student(String name, int age, String gender) {
//        this.name = name;
//        this.age = age;
//        this.gender = gender;
//    }

    public void eat(){
        System.out.println("吃");
    }

    public void sleep(){
        System.out.println("睡觉");
    }

    public void learn(){
        System.out.println("学习");
    }

}
